package com.example.demo.service;

import com.example.demo.entity.BackResponseEntity;
import com.example.demo.entity.requestJson.AInsertChapterReq;
import com.example.demo.entity.requestJson.ALockChapterReq;
import com.example.demo.entity.requestJson.DeleteReq;
import com.example.demo.entity.responseJson.AllChapterToBookRes;
import com.example.demo.entity.responseJson.ChapterContentRes;
import com.example.demo.entity.responseJson.ListResult;

import java.util.List;

/**
 * @author : 洪俊新
 * @date : 2021/3/4 17:06
 * @description:
 */
public interface AChapterService {
    BackResponseEntity<Object> insertChapter(AInsertChapterReq aInsertChapterReq);
    BackResponseEntity<ListResult<List<AllChapterToBookRes>>> queryAllChapter(DeleteReq deleteReq);
    BackResponseEntity<List<ChapterContentRes>> queryChapterContent(DeleteReq deleteReq);
    BackResponseEntity<Object> lockChapter(ALockChapterReq aLockChapterReq);
    BackResponseEntity<Object> updateChapter(AInsertChapterReq aInsertChapterReq);
}
